package com.sl.lamda;

/**
 * Created by lisulong on 2019/5/24.
 */
public class Lamda1 {
    public static void test(MyInterface myInterface){
        myInterface.lMethod();
    }
    public static void main(String[] args) {
        test(()->System.out.print("Hello"));
    }
}
interface MyInterface{
    void lMethod();
//    void mMethod(String param);
}